{include file="public_iframe:head"}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>提现列表</h5>
                    <div class="ibox-tools" style="margin-top: -9px;">
                        <a href="javascript:location.reload();" class="btn btn-primary"><i class="fa fa-refresh"></i> 刷新</a>
                    </div>
                </div>
                <div class="ibox-content">


                    <div class="table-responsive">
                        <form action="__URL__/operate" method="post" id="operate_form">
                            <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th height="40">编号</th>
                                    <td>收款号</td>
                                    <td>用户名</td>
                                    <td>微信</td>
                                    <th>提现人</th>
                                    <td>头像</td>
                                    <th>支付方式</th>
                                    <th>提现金额(已扣取手续费)</th>
                                    <th>手续费</th>
                                    <td>手机号</td>
                                    <td>昵称</td>
                                    <th>状态</th>
                                    <th>操作时间</th>
                                    <th width="200">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="list" id="vo"}
                                <tr>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.card_num}</td>
                                    <td>{$vo.account}</td>
                                    <td>{$vo.wx}</td>
                                    <td>{$vo.name}</td>
                                    <td><img src="{$vo.head_url}" style="width: 80px;height: 80px;"></td>
                                    <td>
                                        {switch name="$vo.type"}
                                        {case value="1"}支付宝{/case}
                                        {case value="2"}银行卡{/case}
                                        {/switch}
                                    </td>
                                    <td>{$vo.money}</td>
                                    <td>{$vo.poundage}</td>
                                    <td>{$vo.phone}</td>
                                    <td>{$vo.nick_name}</td>
                                    <td>
                                        {$vo.status_name}
                                    </td>
                                    <td>
                                        {$vo.create_at}
                                    </td>
                                    <td class="center" width="200">
                                    {if condition="$vo.status eq '0'"}
                                        <a href="{:url('withdraw/detail',array('id'=>$vo['id']))}" class="btn btn-primary">审核提现</a>
                                    {/if}
                                    </td>
                                </tr>
                                {/volist}

                                </tbody>
                            </table>
                        </form>
                        <div class="col-sm-12" style="padding:0px;">
                            <ul class="pagination  pull-right">
                                {$page}
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>